<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@page import="com.hycreate.platform.modules.app.entity.BreadcrumbNavigation"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>NewInterFace</title>
 <link rel="stylesheet" type="text/css" href="${ctxStatic }/newInterFace/css/style.css"/> 

<script type="text/javascript" src="${ctxStatic }/newInterFace/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
function sub1(){
	   
	  
	 var str=$("#search").val();
	 var newstr=$.trim(str);
	  console.log(str);
	 
		 
		
		 var src="../baseData/projectlist";  
		
		/* var src ="${ctx}/project/sfProject/projectlist"; */
		   console.log(src);
		  $("#searchForm").attr("action",src);
		  $("#searchForm").submit();  
	  
	  
 }
	
 function sub2(){
	   
		  
		  var str=$("#search").val();
		  
	  var newstr=$.trim(str);
		 
			   var src="../baseData/productlist"; 
			   console.log(src);
			  $("#searchForm").attr("action",src);
			  $("#searchForm").submit();
	   }


</script>

<style type="text/css">

a {
	text-decoration: none;
	color: #AAAAAA;
}

a:hover {
	cursor: pointer;
	text-decoration: underline;
}

</style>

</head>
<body style="background:  url(${ctxStatic }/newInterFace/img/temp1.jpg) no-repeat center 50%;">

	<c:remove var="bnas" scope="session" />
	
	<% BreadcrumbNavigation bna = new  BreadcrumbNavigation();
		bna.setLabel("首页");
		bna.setUrl("../baseData/newinterface");
		List<BreadcrumbNavigation> bnas = new ArrayList<BreadcrumbNavigation>();
		bnas.add(bna);
		session.setAttribute("bnas", bnas);
	%>
	<!-- 中英文切换 -->
	
	<div > 
	 
	 <a href="../baseData/enInterFace" style="margin-left: 1800px;">中文 (Chinese)&nbsp;》》English(英文)</a>
	 
	 </div>
	
     <!-- LOGO -->
      <div  style="margin-left: 800px;margin-top: 45px;" >
       <img  width="300px;" height="150px;"  alt="LOGO" src="${ctxStatic }/newInterFace/img/1.jpg">
      </div>
		
		<!--  -->
		<div >
			<div class="panel">
				<div class="wrap">
				<form action="#" id="searchForm" method="post">
				    <input type="hidden" name="type" value="initial">
					<input type="text" placeholder="请输入要查询的内容" id="search" name="search"/>
					 <button onclick="sub1()">搜索项目</button> 
					 <button onclick="sub2()">搜索产品</button> 
					 
					</form>
					
				</div>
			</div>
		</div>
		
		
		
	</body>
</html>